package com.softeem.bean;


public class Oss {
    private Long id;
    private String bucketName;
    private String type;
    private Long capacity;
    private Long flow;
    private Integer visits;
    private String permission;


    public Oss() {
    }

    public Oss(Long id, String bucketName, String type, Long capacity, Long flow, Integer visits, String permission) {
        this.id = id;
        this.bucketName = bucketName;
        this.type = type;
        this.capacity = capacity;
        this.flow = flow;
        this.visits = visits;
        this.permission = permission;
    }

    /**
     * 获取
     * @return id
     */
    public Long getId() {
        return id;
    }

    /**
     * 设置
     * @param id
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * 获取
     * @return bucketName
     */
    public String getbucketName() {
        return bucketName;
    }

    /**
     * 设置
     * @param bucketName
     */
    public void setbucketName(String bucketName) {
        this.bucketName = bucketName;
    }

    /**
     * 获取
     * @return type
     */
    public String gettype() {
        return type;
    }

    /**
     * 设置
     * @param type
     */
    public void settype(String type) {
        this.type = type;
    }

    /**
     * 获取
     * @return capacity
     */
    public Long getcapacity() {
        return capacity;
    }

    /**
     * 设置
     * @param capacity
     */
    public void setcapacity(Long capacity) {
        this.capacity = capacity;
    }

    /**
     * 获取
     * @return flow
     */
    public Long getflow() {
        return flow;
    }

    /**
     * 设置
     * @param flow
     */
    public void setflow(Long flow) {
        this.flow = flow;
    }

    /**
     * 获取
     * @return visits
     */
    public Integer getvisits() {
        return visits;
    }

    /**
     * 设置
     * @param visits
     */
    public void setvisits(Integer visits) {
        this.visits = visits;
    }

    /**
     * 获取
     * @return permission
     */
    public String getpermission() {
        return permission;
    }

    /**
     * 设置
     * @param permission
     */
    public void setpermission(String permission) {
        this.permission = permission;
    }

    public String toString() {
        return "Book{id = " + id + ", bucketName = " + bucketName + ", type = " + type + ", capacity = " + capacity + ", flow = " + flow + ", visits = " + visits + ", permission = " + permission + "}";
    }
}